package com.cloud.mybatis.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "排序字段")
public class OrderColumn implements Serializable {

    private SortRuleEnum sort;

    @Min(value = 1,message = "排序字段大于1")
    private Integer orderColumn;
}